var express = require('express')
var Router = express.Router()

var OperationOfDatabase=require('../databaseManage/OperationOfDatabase')
var db=new OperationOfDatabase();

 
Router.get('/', function (req, res) {
	var search_name=req.query.search_name;
   db.getPostsByPostTitle(search_name,res);
   // res.send('<h1>服务器端响应了register功能</h1>')
})
module.exports = Router;